$(function() {
	var img1 = '/img/recharge/ok.png';
	var img2 = '/img/recharge/cancel.png';
	$('#one_w').click(function(){
		$('#one_money').show();
		$('#one_value').blur(function(){
			var one = document.getElementById('one_value');
			document.getElementById('one_desc').innerHTML = one.value;
			$('#one_money').hide();
		})
	});
	$('#two_w').click(function(){
		$('#two_money').show();
		$('#two_value').blur(function(){
			var two = document.getElementById('two_value');
			document.getElementById('two_desc').innerHTML = two.value;
			$('#two_money').hide();
		})
	});
	$('#three_w').click(function(){
		$('#three_money').show();
		$('#three_value').blur(function(){
			var three = document.getElementById('three_value');
			document.getElementById('three_desc').innerHTML = three.value;
			$('#three_money').hide();
		})
	});
	$('#one_pic').click(function(){
		var a = $('#one_pic').attr('src');
		if(a == img1){
			$('#one_pic').attr('src',img2);
		}else{
			$('#one_pic').attr('src',img1);
		}
	});
	$('#two_pic').click(function(){
		var b = $('#two_pic').attr('src');
		if(b == img1){
			$('#two_pic').attr('src',img2);
		}else{
			$('#two_pic').attr('src',img1);
		}
	});
	$('#three_pic').click(function(){
		var c = $('#three_pic').attr('src');
		if(c == img1){
			$('#three_pic').attr('src',img2);
		}else{
			$('#three_pic').attr('src',img1);
		}
	})
})